body {
    font-family: helvetica, arial, sans-serif;
    background: #e3e3e3;
    text-align: center;
}

/* MENU */

#nav {
    background: #e5e5e5;
    float: left;
    margin: 0; padding: 0;
    border: 1px solid white;
    border-bottom: none;
}

#nav li a, #nav li {
    float: left;
}

#nav li {
    list-style: none;
    position: relative;
}

#nav li a {
    padding: 1em 2em;
    text-decoration: none;
    color: white;
    background: #5584C8;
    background: -moz-linear-gradient(top, black, #A0A0A3 1px, #5584C8 25px);
    background: -webkit-gradient(linear, left top, left 25, from(#A0A0A3), color-stop(4%, #A0A0A3), to(#5584C8));
    border-right: 1px solid #A0A0A3;
    border-left: 1px solid #5584C8;
    border-bottom: 1px solid #232323;
    border-top: 1px solid #545454;
}

#nav li a:hover {
    background: #DAE4F2;
    background: -moz-linear-gradient(top, #7B9FD4, #DAE4F2);
    background: -webkit-gradient(linear, left top, left bottom, from(#7B9FD4), to(#DAE4F2));
}
#nav li a:focus{
    background: #DAE4F2;
    background: -moz-linear-gradient(top, #7B9FD4, #DAE4F2);
    background: -webkit-gradient(linear, left top, left bottom, from(#7B9FD4), to(#DAE4F2));
}


/* Submenu */

.hasChildren {
    position: absolute;
    width: 5px; height: 5px;
    background: black;
    right : 0;
    bottom: 0;
}

#nav li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    padding: 0; margin: 0;
}

#nav li:hover > ul {
    display: block;
}

#nav li ul li, #nav li ul li a {
    float: none;
}

#nav li ul li {
    _display: inline; /* for IE6 */
}

#nav li ul li a {
    width: 150px;
    display: block;
}

/* SUBSUB Menu */

#nav li ul li ul {
    display: none;
}

#nav li ul li:hover ul {
    left: 100%;
    top: 0;
}


